package com.zhdl.modules.demo.hardware_connect;

import java.util.ArrayList;
import java.util.List;

public class DefaultDeviceProvider implements LinkDeviceProvider{
    public List<LinkDevice> tempList = null;
    @Override
    public List<LinkDevice> getDeviceList() {
        if (tempList == null){
            tempList = new ArrayList<>();
            LinkDevice linkDevice = new LinkDevice("PLC连接","0.0.0.0:2000");
            tempList.add(linkDevice);
            tempList.add(new LinkDevice("相机软件连接","0.0.0.0:30000"));
        }
        return tempList;
    }
}
